package tq.com.tqteacher.activity;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import tq.com.tqcom.base.BaseFragment;
import tq.com.tqcom.base.BaseTitleActivity;
import tq.com.tqteacher.R;

public class TQEmptyActivity extends BaseTitleActivity {
    private TQEmptyFragment mEmptyFragment = new TQEmptyFragment();

    static public void show(Activity pActivity){
        Intent lIntent = new Intent(pActivity, TQEmptyActivity.class);
        pActivity.startActivity(lIntent);
    }
    @Override
    protected BaseFragment fragment() {
        return mEmptyFragment;
    }

    static public class TQEmptyFragment extends BaseFragment{
        @Nullable
        @Override
        public View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
            View lView = inflater.inflate(R.layout.view_empty_layout, container, false);
            return lView;
        }
    }
}
